<?php
include("../connect.php");
header("content-type:text/html;charset=utf-8");  
$k=$_GET['k'];
$id=$_GET['id'];

$sql="delete from ".$k." where id=".$id.""; 
mysqli_query($conn,$sql);
echo "<script>window.history.back();</script>";
?>